package ControllerP
import DomainP.Trip

class VPurposeController {
    def index = { 
        redirect(action: "vpurpose")
    }
    
    def vpurpose = {
        def trips = Trip.list()
        [trips:trips]
    }
}
